﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%--<%
    if (Request.IsAuthenticated) {
%>
        Welcome <b><%: Page.User.Identity.Name %></b>!
        [ <%: Html.ActionLink("Log Off", "LogOff", "Account") %> ]
<%
    }
    else {
%> 
        [ <%: Html.ActionLink("Log On", "LogOn", "Account") %> ]
<%
    }
%>--%>

<%if (Request.Cookies["rfid"] != null)
  {%>
    Ingelogd als <b><%:Request.Cookies["rfid"].Value%></b>  
    [ <%: Html.ActionLink("Uitloggen", "LogOff", "Account") %> ]  
<%  }
  else
  {
%>
[ <%: Html.ActionLink("Inloggen", "LogOn", "Account")%> ]
<%
    }      
%>